alert(1222)
if ('WebSocket' in window) {
	  alert(123)
	websocket = new WebSocket("ws://192.168.31.236:8080/ws/users/login");	
} else {
	 websocket = new SockJS("http://192.168.31.236:8080/sockjs/ws/users/login");
}
   
websocket.onopen = function(event){
        console.log(event);
    } 